FROM python:3.8.2

WORKDIR /var/applications/wx

ADD . .

RUN pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple

CMD gunicorn --workers 2 --bind 0.0.0.0:3101 app.wsgi:app